package com.liuqm.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 商品分类
 * </p>
 *
 * @author liuqm
 * @since 2024-09-04
 */
@TableName("czkt_product_class")
public class CzktProductClass implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "class_id", type = IdType.AUTO)
      private Integer classId;

      /**
     * 分类名称
     */
      private String className;

      /**
     * 分类父id
     */
      private Integer parentId;

      /**
     * 分类图片
     */
      private String classImage;
    
    public Integer getClassId() {
        return classId;
    }

      public void setClassId(Integer classId) {
          this.classId = classId;
      }
    
    public String getClassName() {
        return className;
    }

      public void setClassName(String className) {
          this.className = className;
      }
    
    public Integer getParentId() {
        return parentId;
    }

      public void setParentId(Integer parentId) {
          this.parentId = parentId;
      }
    
    public String getClassImage() {
        return classImage;
    }

      public void setClassImage(String classImage) {
          this.classImage = classImage;
      }

    @Override
    public String toString() {
        return "CzktProductClass{" +
              ", classId = " + classId +
                  ", className = " + className +
                  ", parentId = " + parentId +
                  ", classImage = " + classImage +
              "}";
    }
}
